import request from '@/utils/request'

// 查询用户进度列表
export function listUserProgress(query) {
  return request({
    url: '/lakk/UserProgress/list1',
    method: 'get',
    params: query
  })
}

// 查询用户进度详细
export function getUserProgress(id) {
  return request({
    url: '/lakk/UserProgress/' + id,
    method: 'get'
  })
}

// 新增用户进度
export function addUserProgress(data) {
  return request({
    url: '/lakk/UserProgress',
    method: 'post',
    data: data
  })
}

// 修改用户进度
export function updateUserProgress(data) {
  return request({
    url: '/lakk/UserProgress',
    method: 'put',
    data: data
  })
}

// 删除用户进度
export function delUserProgress(id) {
  return request({
    url: '/lakk/UserProgress/' + id,
    method: 'delete'
  })
}
